package org.walkerljl.commons.schedule;

import java.io.Serializable;

/**
 * Job
 *
 * @author lijunlin
 */
public interface Job extends Serializable {

    String getId();

    String getName();

    String getGroup();

    /**
     * Execute
     *
     * @param context
     * @throws JobExecutionException
     */
    void execute(JobExecutionContext context) throws JobExecutionException;
}
